const table = [
    { language: 'JavaScript', version: 'ECMAScript2022' },
    { language: 'Python', version: '3.11' },
];
console.table(table);
console.table(table, ['language'])

const label = 'Print a group of info';
console.group(label);
console.log('Log');
console.warn('Warning');
console.error('Error');
console.info('Info');
console.groupEnd(label);

const style = 'color:red;background-color:grey';
console.log('%cCustomized CSS', style);

console.assert(false, 'Assert Failure');

console.time();
let result = 0;
for (let i = 1; i <= 100; i++) {
    result += i;
}
console.log(result);
console.timeEnd();
